package com.neu.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Plan {
    private int id;
    private int projectId;
    @ExcelProperty(index=0)
    private String content;
    @DateTimeFormat(value="yyyy/MM/dd")
    @ExcelProperty(index=1)
    private Date sdate;
    @DateTimeFormat(value="yyyy/MM/dd")
    @ExcelProperty(index=2)
    private Date edate;
    @ExcelProperty(index=3)
    private int status;
    @ExcelProperty(index=4)
    private String note;
}
